/**
 * Copyright (C), 2018 store
 * Encoding: UTF-8
 * Date: 19-9-16 下午1:27
 * History:
 */
package com.swak.frame.ratelimit.adapter;

import com.swak.frame.ratelimit.config.LimitOperation;

/**
 * LimitRaterAdapter.java
 * 
 * @author ColleyMa
 * @version 19-9-16 下午1:27
 */

public interface LimitRaterAdapter {

	public boolean tryAcquire(LimitOperation config);

	public boolean tryAcquire(String resource);
}
